import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
import { SEntityId } from "./SEntityId";
type int = number;
//class SGangFightsTeam
    
    export  class SGangFightsTeam
    {
       

        public __write(arg1: SerializeStream): void
        {
            arg1.writeInt(this.teamId);
            arg1.writeString(this.name);
            arg1.writeInt(this.mark);
            arg1.writeInt(this.winPer);
            arg1.writeInt(this.rank);
            arg1.writeInt(this.warfare);
            arg1.writeInt(this.memberNum);
            this.captainEntityId.__write(arg1);
            arg1.writeString(this.captainName);
            arg1.writeInt(this.lastMagicStone);
            arg1.writeInt(this.lastMerit);
            return;
        }

        public __read(arg1: SerializeStream): void
        {
            this.teamId = arg1.readInt();
            this.name = arg1.readString();
            this.mark = arg1.readInt();
            this.winPer = arg1.readInt();
            this.rank = arg1.readInt();
            this.warfare = arg1.readInt();
            this.memberNum = arg1.readInt();
            this.captainEntityId = new SEntityId();
            this.captainEntityId.__read(arg1);
            this.captainName = arg1.readString();
            this.lastMagicStone = arg1.readInt();
            this.lastMerit = arg1.readInt();
            return;
        }

        public /* var */teamId: int;

        public /* var */name: string;

        public /* var */mark: int;

        public /* var */winPer: int;

        public /* var */rank: int;

        public /* var */warfare: int;

        public /* var */memberNum: int;

        public /* var */captainEntityId: SEntityId;

        public /* var */captainName: string;

        public /* var */lastMagicStone: int;

        public /* var */lastMerit: int;
    }
